package com.cowin.sys.service;
import com.cowin.inf.model.vo.WorkMonitorShopVo;
import com.cowin.sys.model.TmBasLine;
import com.cowin.sys.model.TmBasWorkshop;
import com.cowin.base.Service;
import com.cowin.sys.model.vo.IdNameVo;
import com.cowin.sys.model.vo.LineVo;

import java.util.List;


/**
 * Created by  on 2019/10/30.
 * @author CodeGenerator
 */
public interface TmBasWorkshopService extends Service<TmBasWorkshop> {
    /**
     * 功能描述: 根据WORKSHOP_TYPE 查询上线产线信息<br>
     *
     * @param type
     * @return:
     * @since: 1.0.0
     * @Author:yuchao
     * @Date: 2019/10/30 15:37
     */
    List<LineVo> findLineInfoByType(String type);


    /**
     * 功能描述: 根据车间 查询车间下的产线<br>
     *
     * @param id 车间id
     * @return:
     * @since: 1.0.0
     * @Author:yuchao
     * @Date: 2019/11/19 9:58
     */
    List<TmBasLine>getLineById(Long id);
    
    /**
     * 功能描述: 生产线监控 获取车间 产线信息<br>
     *
     * @param
     * @return:
     * @since: 1.0.0
     * @Author:yuchao
     * @Date: 2020/1/13 11:16
     */
    List<WorkMonitorShopVo> getWorkShopMonitorInfo();
}
